<!-- components/StatGroup.vue -->
<template>
  <view class="stat-group">
    <view class="stat-item" v-for="item in items" :key="item.label">
      <text class="label">{{ item.label }}</text>
      <text class="value">{{ item.value }}</text>
    </view>
  </view>
</template>

<script setup>
defineProps(['items'])
</script>

<style scoped>
.stat-group {
  background: white;
  border-radius: 16rpx;
  padding: 20rpx;
  box-shadow: 0 6rpx 20rpx rgba(0,0,0,0.08);
}

.stat-item {
  display: flex;
  justify-content: space-between;
  padding: 20rpx 0;
  border-bottom: 1rpx dashed #eee;
}

.stat-item:last-child {
  border-bottom: none;
}

.label {
  color: #666;
  font-size: 28rpx;
}

.value {
  color: #333;
  font-weight: 500;
  font-size: 28rpx;
}
</style>